package com.smartcampusbackend.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("academic_warning")
public class AcademicWarning {
    @TableId
    private Long id;
    private Long studentId;
    private String warningType;
    private String description;
    private LocalDateTime warningDate;
    private String status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 新增字段
    private String courseId;      // 课程ID
    private String courseName;    // 课程名称
    private String teacherId;     // 教师ID
    private String teacherName;   // 教师姓名
    private String semester;      // 学期
    private Double courseCredit;  // 课程学分
} 